package com.situ.stl.Service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.situ.stl.model.Coach;

import java.util.List;

public interface CoachService {
    Page<Coach> findAll(Page<Coach> page, Coach coach);


    //删除
    int deleteByIds(List<Integer> ids);

    //保存
    boolean save(Coach coach);

    //修改
    boolean update(Coach coach);

    //根据单个id查询单个教练
    Coach getByIds(Integer ids);

    // 新增：单个删除教练
    boolean removeById(Integer id);

}
